{include file="common/top"}
<div id="page-wrapper">
    <div id="page-inner">
        <div class="row">
            <div class="col-md-12">
                <h1 class="page-head-line">用户银行卡信息</h1>
                <h1 class="page-subhead-line"></h1>

            </div>
        </div>
        <!-- /. ROW  -->

        <div class="row">
            <div class="col-md-6" style="width: 100%">
                <!--   Kitchen Sink -->
                <div class="panel panel-default">
                    <div class="panel-heading">
                        用户银行卡信息列表
                    </div>
                    <div class="panel-body">
                        <div class="panel-heading">
                            <form action="/admin/memberbankinfo/index" method="get">
                                <input type="text" placeholder="银行卡号" value="{if $sou.bank_code!='1=1'}{$sou.bank_code}{/if}" name="bank_code">
                                <input type="submit" value="搜索" name="sousuo">
                            </form>
                        </div>
                        <div class="table-responsive">
                            <form method="post" action="l" id="form">
                                <table class="table table-striped table-bordered table-hover">
                                    <thead>
                                    <tr>
                                        <th>#</th>
                                        <th>用户名</th>
                                        <th>开户名</th>
                                        <th>开户行</th>
                                        <th>银行卡号</th>
                                        <th>支行名称</th>
                                        <th>审核状态</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {volist name="arr" id = "vo"}
                                    <tr><td style="display:none;"><input type="checkbox" checked name="id[]" value="{$vo.id}"></td>
                                        <td>{$vo.id}</td>
                                        <td>{$vo.username}</td>
                                        <td> {$vo.rale_name}</td>
                                        <td> {$vo.bank_name}</td>
                                        <td> {$vo.bank_code}</td>
                                        <td> {$vo.child_name}</td>
                                        <td> {if $vo.status==0}未通过{/if}{if $vo.status==1}待审核{/if}{if $vo.status==2} 通过{/if}</td>
                                        <td>
                                            <div class="button-group">
                                                <a href="/admin/memberbankinfo/update?id={$vo.id}" onclick=" "><span
                                                        class="icon-trash-o"></span> 修改</a>
                                                <a href="/admin/memberbankinfo/del?id={$vo.id}" onclick="javascript:return del();"><span
                                                        class="icon-trash-o"></span> 删除</a>
                                            </div>
                                        </td>
                                    </tr>
                                    {/volist}
                                    <tr>
                                        <td colspan="15">
                                            <div class="pagelist">{$arr->render()|raw}</div>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </form>
                        </div>
                    </div>
                </div>
                <!-- End  Kitchen Sink -->
            </div>
        </div>

    </div>
    <!-- /. PAGE INNER  -->
</div>
<script type="text/javascript">
    function del(id) {
        if(confirm('确定要删除吗')==true){
            return true;
        }else{
            return false;

        }
    }
</script>
{include file="common/out"}